/*
 * Copyright (c) 2018-2999 九五云信息科技有限公司 All rights reserved.
 *
 * https://www.gz-yami.com/
 *
 */

package com.yami.shop.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yami.shop.bean.model.SkuLang;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 *
 * @author lhd
 * @date 2020-08-31 13:54:58
 */
public interface SkuLangMapper extends BaseMapper<SkuLang> {

    void updateSkuLangById(@Param("skuId") Long skuId, @Param("lang") Integer lang, @Param("properties") String properties, @Param("skuName") String skuName, @Param("prodName") String prodName);

    /**
     * 根据商品id删除sku语言表
     * @param prodId
     */
    void deleteByProdId(@Param("prodId") Long prodId);

}
